﻿using SqlSugar;

namespace Future.Model.SysModel
{
    /// <summary>
    /// 描述：字典数据表
    /// 创建人： yangkai
    /// 创建时间：2022/11/4 17:52:21
    /// </summary>
    [SugarTable("Sys_DictData")]
    public class DictDataModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 字典排序
        /// </summary>
        public int DictSort { get; set; }

        /// <summary>
        /// 字典标签
        /// </summary>
        public string DictLabel { get; set; } = string.Empty;

        /// <summary>
        /// 字典键值
        /// </summary>
        public string DictValue { get; set; } = string.Empty;

        /// <summary>
        /// 字典类型
        /// </summary>
        public string DictType { get; set; } = string.Empty;

        /// <summary>
        /// 样式属性（其他样式扩展）
        /// </summary>
        public string CssClass { get; set; } = string.Empty;

        /// <summary>
        /// 表格回显样式
        /// </summary>
        public string ListClass { get; set; } = string.Empty;

        /// <summary>
        /// 是否默认（Y是 N否）
        /// </summary>
        public bool? IsDefault { get; set; }

        /// <summary>
        /// 状态（true:正常 false:停用）
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateBy { get; set; } = string.Empty;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdateBy { get; set; } = string.Empty;

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;
    }
}
